
#ifndef services_h_
#define services_h_


namespace rpc { namespace services {

struct iservice {
	virtual const char* name() = 0;
	virtual void register_functions(std::map<int, std::string>& funcs) = 0;
	virtual void process(rpc::protocol::request& req, rpc::protocol::response& res, rpc::connection_ptr session) = 0 ;
};

} } // namespace services //  } namespace rpc



#endif // services_h_